import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { BluetoothComponent } from './pages/bluetooth/bluetooth.component';
import { CarComponent } from './pages/car/car.component';
import { WebclientComponent } from './pages/webclient/webclient.component';

const routes: Routes = [
  { path: '', pathMatch: 'full', redirectTo: 'webclient' },
  { path: 'webclient', component: WebclientComponent },
  { path: 'car', component: CarComponent },
  { path: 'bluetooth', component: BluetoothComponent }
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }
